from prefect import flow

if __name__ == "__main__":
    flow.from_source(
        source="https://gitee.com/ilovezzr/schedule-connect.git",
        entrypoint="flows/neo4j_connect_flow/entry.py:neo4j_connect_flow",
    ).deploy(
        name="neo4j_connect_flow-deployment",
        parameters={'target': 'movie-bot-llm-with-neo4j-api'},
        work_pool_name="schedule-connect-pool",
        job_variables={"pip_packages": ["neo4j"]},
        cron="0 1 * * *",
        
    )